using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MPR.Poker.Model.SYS
{
	public class SYS_Member
	{
		#region Member
		private Int64 m_IDSys = 0;
		private string m_Email = string.Empty;
		private string m_Password = string.Empty;
        private string m_DisplayName = string.Empty;
		private string m_FirstName = string.Empty;
		private string m_LastName = string.Empty;
		private bool m_Gender = false;
		private DateTime? m_DateofBirth ;
		private int m_Country = 0;
		private int m_Province = 0;
		private string m_ImageUrl = string.Empty;
		private string m_Phone = string.Empty;
		private int m_OrderIndex = 0;
		private bool m_IsActived = false;
		private bool m_IsDeleted = false;
		private DateTime? m_DeletedDate ;
		#endregion
		#region Properties
		/// <summary>
		/// IDSys
		/// 
		/// </summary>
        [Key, DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public Int64 IDSys
		{
			get { return m_IDSys; }
			set { m_IDSys = value; }
		}
		/// <summary>
		/// Email
		/// 
		/// </summary>
		public string Email
		{
			get { return m_Email; }
			set { m_Email = value; }
		}
		/// <summary>
		/// Password
		/// 
		/// </summary>
		public string Password
		{
			get { return m_Password; }
			set { m_Password = value; }
		}
        /// <summary>
        /// DisplayName
        /// Tên trình bày
        /// </summary>
        public string DisplayName
        {
            get { return m_DisplayName; }
            set { m_DisplayName = value; }
        }
		/// <summary>
		/// FirstName
		/// Họ và tên đệm
		/// </summary>
		public string FirstName
		{
			get { return m_FirstName; }
			set { m_FirstName = value; }
		}
		/// <summary>
		/// LastName
		/// Tên
		/// </summary>
		public string LastName
		{
			get { return m_LastName; }
			set { m_LastName = value; }
		}
		/// <summary>
		/// Gender
		/// Giới tính : 0 : Nam, 1: nữ
		/// </summary>
		public bool Gender
		{
			get { return m_Gender; }
			set { m_Gender = value; }
		}
		/// <summary>
		/// DateofBirth
		/// Ngày sinh
		/// </summary>
		public DateTime? DateofBirth
		{
			get { return m_DateofBirth; }
			set { m_DateofBirth = value; }
		}
		/// <summary>
		/// Country
		/// Quốc gia
		/// </summary>
		public int Country
		{
			get { return m_Country; }
			set { m_Country = value; }
		}
		/// <summary>
		/// Province
		/// Tỉnh/Thành phố
		/// </summary>
		public int Province
		{
			get { return m_Province; }
			set { m_Province = value; }
		}
		/// <summary>
		/// ImageUrl
		/// 
		/// </summary>
		public string ImageUrl
		{
			get { return m_ImageUrl; }
			set { m_ImageUrl = value; }
		}
		/// <summary>
		/// Phone
		/// 
		/// </summary>
		public string Phone
		{
			get { return m_Phone; }
			set { m_Phone = value; }
		}
		/// <summary>
		/// OrderIndex
		/// 
		/// </summary>
		public int OrderIndex
		{
			get { return m_OrderIndex; }
			set { m_OrderIndex = value; }
		}
		/// <summary>
		/// IsActived
		/// Kích hoạt
		/// </summary>
		public bool IsActived
		{
			get { return m_IsActived; }
			set { m_IsActived = value; }
		}
		/// <summary>
		/// IsDeleted
		/// Xóa
		/// </summary>
		public bool IsDeleted
		{
			get { return m_IsDeleted; }
			set { m_IsDeleted = value; }
		}
		/// <summary>
		/// DeletedDate
		/// Ngày xóa
		/// </summary>
		public DateTime? DeletedDate
		{
			get { return m_DeletedDate; }
			set { m_DeletedDate = value; }
		}
		#endregion
		#region Constructor
		public SYS_Member()
		{
		}
		#endregion
		#region Column Names
		public const String colIDSys = "IDSys";
		public const String colEmail = "Email";
		public const String colPassword = "Password";
		public const String colFirstName = "FirstName";
		public const String colLastName = "LastName";
		public const String colGender = "Gender";
		public const String colDateofBirth = "DateofBirth";
		public const String colCountry = "Country";
		public const String colProvince = "Province";
		public const String colImageUrl = "ImageUrl";
		public const String colPhone = "Phone";
		public const String colOrderIndex = "OrderIndex";
		public const String colIsActived = "IsActived";
		public const String colIsDeleted = "IsDeleted";
		public const String colDeletedDate = "DeletedDate";
		#endregion
	}
}
